This readme file contains guidance on how to to reproduce the tables and figures in the paper "Trading votes:What drives MEP support for trade liberalization?" by Robert Basedow and Julian Hoerner which appears in the Journal of European Public Policy 

The replication materials contain the following files:

- This Read Me file ("EP_Trade_ReadMe.txt)
- "EP_Trade_Dataset_Final_24072023.dta"
- "EP_Trade_Dataset_Final_24072023.csv"
- "EP_Trade_Analysis_Final_24072023.do"
- "EP_Trade_Interflex_Script_R.R"
- "EP_Trade_Figure_SI2.txt" 
- "EP_Trade_Figures_SI3_SI17.txt"

The dataset is strored in two formats: "EP_Trade_Dataset_Final_24072023.dta" and "EP_Trade_Dataset_Final_24072023.csv"

The table and figures were generated using both the "R" and "Stata" softwares. Tables and figures should be produced in the order below.

1) Figures 1-7, Figures SI1a and SI1b, as well as all tables were generated using Stata.(see "EP_Trade_Analysis_Final_24072023.do")

2) Figures 8-12 as well as the individual panels of Figures SI2-17 were generated using the Interflex command in R. (see "EP_Trade_Interflex_Script_R.R")

3) Figures SI2 and SI3-SI17 were compiled using LaTeX (see "EP_Trade_Figure_SI2.txt" and "EP_Trade_Figures_SI3_SI17.txt") from the individual graphs/panels procuded in step 2) (other than Figures 8-12). 

